import { defineUniPages } from '@uni-helper/vite-plugin-uni-pages'

export default defineUniPages({
  pages: [],
  easycom: {
    autoscan: true,
    custom: {
      '^uv-(.*)': '@climblee/uv-ui/components/uv-$1/uv-$1.vue',
    },
  },
  globalStyle: {
    backgroundColor: '#ffffff',
  },
  tabBar: {
    backgroundColor: '#ffffff',
    borderStyle: 'white',
    color: '#aaaeb3',
    selectedColor: '#3f8bf6',
    list: [
      {
        pagePath: 'pages/home',
        iconPath: 'static/images/tab_home.png',
        selectedIconPath: 'static/images/tab_home_active.png',
        text: '首页',
      },
      {
        pagePath: 'pages/orders',
        iconPath: 'static/images/tab_order.png',
        selectedIconPath: 'static/images/tab_order_active.png',
        text: '订单',
      },
      {
        pagePath: 'pages/profile',
        iconPath: 'static/images/tab_profile.png',
        selectedIconPath: 'static/images/tab_profile_active.png',
        text: '我的',
      },
    ],
  },
})
